package zing.downloader.executor;

import zing.downloader.entity.Song;
import zing.downloader.interfaces.IDownloadFileImpl;

public class DownloadTask implements Runnable {

	private Song song;

	public DownloadTask(Song song) {
		this.song = song;
	}

	@Override
	public void run() {
		IDownloadFileImpl downloadFileImpl = new DownloadFileImpl();
		downloadFileImpl.downloadSongToFile(song);
	}

}
